package com.cg.exception;
    //自定义业务异常类
    public class BusinessException extends RuntimeException{
        public BusinessException(String message){
            //调用父类的构造方法，传入错误信息
            super(message);
        }
    }

